<header class="layui-row" th:fragment="header" xmlns:th="http://www.thymeleaf.org">
   <div class="layui-col-lg2  layui-col-md3 layui-col-sm8 layui-col-xs6">
       <div class="logo" onclick="javascript:location.href='/'">
           <!--&lt;!&ndash;<img src="/static/imgs/logo.png" style="width: 45px;position: relative;top:-5px;" alt="logo">&ndash;&gt; 智能养老云平台-->

           智能养老云平台
       </div>
   </div>
    <div class="top-nav layui-col-lg7 layui-col-md6 layui-hide-sm layui-hide-xs layui-show-lg-block layui-show-md-block ">
    </div>
    <div class="layui-col-lg2 layui-col-md3 layui-col-sm4 layui-col-xs6">
        <ul class="layui-nav layui-layout-right" style="margin-top:5px;">
            <li class="layui-nav-item" lay-unselect="">
                <a href="javascript:;"><img src="/static/imgs/avatar.png" class="layui-nav-img"> <span th:text="${session.user.userName}" style="font-size:18px;"></span></a>
                <dl class="layui-nav-child">
                    <dd><a id="changepwd" href="javascript:void(0);">修改密码</a></dd>
                    <dd><a href="/logout">退出</a></dd>
                </dl>
            </li>
        </ul>
    </div>
</header>

